    var miZer = {
        init: function(){
            alert('000');
            return this;
        },
         ready: function(func) {
             document.addEventListener('DOMContentLoaded', func, false);
             return this;
            /*return new miZer.fn.init( selector );*/
        },
        click: function(){
            return this;
        },
        mouseover: function(){
            alert('mmm');
        }
        /*miZer.fn = miZer.prototype = {
            constructor: miZer,
            init: function( selector ) {
                if(!selector){return this;}
                if(typeof selector == 'string'){
                    this.selector = document.querySelectorAll(selector);
                    this.length = this.selector.length;
                        return this;
                }
                else {
                    this.selector = selector.selector;
                    this.length = this.selector.length;
                    alert(this.length);
                    return this;
                }
            },
            ready: function(func){
                document.addEventListener('DOMContentLoaded', func, false);
            },
            selector: '',
            size: function(){
                return this.length
            },
            click: function(func){
                func.prototype = this;
                var s = this.selector, l = s.length;
                for(var i=0;i<l;i++){
                    s[i].addEventListener('click', func, false);
                }
            },
            mouseover: function(func){
                var s = this.selector, l = s.length;
                for(var i=0;i<l;i++){
                    s[i].addEventListener('mouseover', func, false);
                }
            }
        }*/
    }
    var $ = function(){return miZer.init()};
$.ready(function(){
   $().click().mouseover();
//$('.galleryImgTitle').click(function(){alert($(this)); return false; });
});